package com.ftf.tp.message.infrastructure.mapper.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 *
 * @author tanghao
 * @date 2022/9/16
 */
/**
    * 用户通知配置
    */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "user_noitce_config")
public class UserNoitceConfig {
    @TableId(value = "id", type = IdType.INPUT)
    private Long id;

    /**
     * 用户id
     */
    @TableField(value = "user_id")
    private Long userId;

    /**
     * 配置id
     */
    @TableField(value = "config_id")
    private Integer configId;
}